/* eslint-disable react/prop-types */
/* eslint-disable no-useless-constructor */
/* eslint-disable no-use-before-define */
import React, { Component } from 'react'

import withMouse from './withMouse'
class Com1 extends Component {
  render () {
    console.log(this.props)
    return (
      <div>当前鼠标的位置: {this.props.x}, {this.props.y}</div>
    )
  }
}

export default withMouse(Com1)
